home *** CD-ROM | disk | FTP | other *** search
- CLEANDSK v1.0 Documentation
- (c) 1996 William D. Ezell
-
-
- Overview
- ----------
-
- CLEANDSK is a simple utility to remove certain commonly-occurring files
- from a specified disk or directory tree. The current version has only
- one command-line parameter, that being the starting drive and/or path,
- and that parameter is optional. If omitted CLEANDSK will begin cleaning
- in the root directory of drive C: (if it exists) and include all subordinate
- directories.
-
- CLEANDSK version 1.0 was developed under OS/2 Warp using emx 0.9a. Full
- C source is included in accordance with the provisions of the GNU licensing
- agreements. emxbind was used to produce a fully self-contained executable
- that will run under both OS/2 and DOS. The program has been tested under
- Warp and MS-DOS 6.22. Although the program is a nice companion to Windows 3.x
- (cleaning up the clutter left by those frequent GPF's) it will must be run
- from a real DOS prompt, not from within Windows itself. CLEANDSK has not
- been tested with Windows95 although it MAY work (see disclaimer below).
-
- When running CLEANDSK, please read fully the warning prompt displayed. ALL
- files matching the displayed pattern masks WILL BE DELETED, even if they
- are flagged read-only. Currently only files are removed -- directories
- matching the pattern masks (e.g., C:\WINDOWS.OLD) are ignored.
-
-
- Usage Syntax
- ------------
-
- There are currently only two usage syntaxes:
-
- CLEANDSK (no parameters; default action is to process C:\)
-
- CLEANDSK d:\path process specified drive beginning at specified
- point in the directory tree.
-
- Note: the UNIX-style path separator "/" is also
- recognized in path specifications.
-
-
- Examples
- -----------
-
- CLEANDSK c:\windows removes all matching files on drive C: ONLY in
- the \windows subdirectory and subordinate dirs
-
- CLEANDSK c:/windows exactly the same result as above
-
- CLEANDSK d:\ removes all matching files in all directories of
- drive D:. Either "\" or "/" MUST be included
- (e.g., CLEANDSK d: alone will return an error)
-
-
- Targeted File Patterns
- -----------------------
-
- CLEANDSK fully supports both FAT and HPFS naming rules and will target
- ANY file regardless of the naming scheme as long as it matches one or more of
- the following patterns:
-
- *.old *.tmp *.syd *.fix *.chk *.??_ *.~?? ~*.*
-
-
-
- Licensing / Costs / Etc...
- --------------------------
-
- CLEANDSK is free for private or corporate use in accordance with the provisions
- of the GNU General License Agreement. The executable may not be distributed
- without the accompanying source code and this disclaimer. CLEANDSK was written
- by the author to meet a specific need. Although it has been tested within the
- parameters of that need the author assumes no responsibility for its use or
- misuse. The program was designed to delete files and performs that task very
- well. USE IT AT YOUR OWN RISK! If you are unsure about compatibility with
- your system proceed with caution! Make sure you have a reliable backup before
- you test it.
-
- As stated above there is no cost for this software. I would like to know,
- however, just where this prgram winds up once it's tossed out onto the
- Internet. If you care to take the time just send me a simple message to either
- address listed below. I assure you your name will be kept in confidence and
- no solicitation will be made of you.
-
-
-
- The Future
- -------------
-
- This program represented my first programming attempt using the emx development
- system. Several enhancements are planned, including selectable pattern masks
- and an "information-only" mode. If you have suggestions of features you'd like
- to see I'd welcome the input. I hope you find the program a useful addition to
- your tool box.
-
-
- William D. Ezell
- 98 Reese St., Enterprise, AL 36330-1872
- wdezell@ibm.net
-
-